package org.sgmiller.quickstem.collections;

import java.util.Set;

/**
 * Provides a transactional set datastructure
 * 
 * @author scott
 *
 * @param <E>
 */
public class TransactionalSet<E> extends AbstractTransactionalList<E> implements Set<E> {

	public boolean add(E e) {
		if (!contains(e)) {
			super.add(e);
			return true;
		} else return false;
	}
}
